<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SystemUser>" %>
<%@ Import Namespace="TeamCommunitySolution.Domain.DataLayer.Base"%>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Communication Center
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Communication Center</h2>
    <div>
        <div style="width: 45%; float: left; padding-right: 5px;">
            <fieldset>
                <legend>Inbox</legend>
                <% Html.RenderPartial("~/Views/CommunicationCenter/InboxView.ascx", Model.PrivateMessageInbox); %>
            </fieldset>
        </div>
        <div style="width: 45%; float: left;">
            <p>
                <%= Html.ActionLink("Create New", "CreatePersonalMessage") %>
            </p>
            <fieldset>
                <legend>Outbox</legend>
                <% Html.RenderPartial("~/Views/CommunicationCenter/OutboxView.ascx", Model.PrivateMessageOutbox); %>
            </fieldset>
        </div>
    </div>
</asp:Content>
